package comp211.calendar.unit;

import java.io.Serializable;

public class Appt implements Serializable {

	private TimeSpan mTimeSpan;

	private String mTitle;

	private String mInfo;

	private int mApptID;

	public Appt() {
		mApptID = 0;
		mTimeSpan = null;
		mTitle = "Untitled";
		mInfo = "";
	}

	public TimeSpan TimeSpan() {
		return mTimeSpan;
	}

	public String getTitle() {
		return mTitle;
	}

	public String getInfo() {
		return mInfo;
	}

	public int getID() {
		return mApptID;
	}

	public String toString() {
		return mTitle;
	}

	public void setTitle(String t) {
		mTitle = t;
	}

	public void setInfo(String in) {
		mInfo = in;
	}

	public void setTimeSpan(TimeSpan d) {
		mTimeSpan = d;
	}

	public void setID(int id) {
		mApptID = id;
	}

}
